<?php
return array(
	//'配置项'=>'配置值'
	'MULTI_MODULE' => false,
	'DEFAULT_MODULE' => 'Home',
	'URL_HTML_SUFFIX'=>'.php',
		
	'URL_PARAMS_BIND_TYPE'  =>  1,
		
	'SHOW_ERROR_MSG'		=>  true,
// 	'TMPL_EXCEPTION_FILE'	=> 'Public/tpl/api_exception.tpl',
		
    //默认数据库whaley_trade
    'DB_TYPE'   => 'mysql', // 数据库类型
    'DB_HOST'   => '106.75.215.215', // 服务器地址
    'DB_NAME'   => 'jh_system', // 数据库名
    'DB_USER'   => 'root', // 用户名
    'DB_PWD'    => 'RTYh87gs', // 密码
    'DB_PORT'   => 16506, // 端口
    'DB_PREFIX' => '', // 数据库表前缀
	
	
	//whaley_system数据库
    'DB_system'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_system',
    //whaley_system数据库
    'DB_fz'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_fz',
    //whaley_trade数据库
    'DB_trade'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_trade',
    //whaley_product数据库
    'DB_product'    => 'mysql://root:RTYh87gs@106.75.215.215:16506/jh_product',
	
	'SystemConfig'	=> array(
			'encrypt_key'			=> 'rlQu78NZpd2OwhQG',
			'current_domain'		=> 'www',
	),

	'AdminConfig'	=> array(
			//登陆的cookie参数设置
			'login_cookie_expire'	=> '7200',
			'login_cookie_domain'	=> '',
			'login_page'			=> '/admin/login',
			'jump_page'             =>  '/admin/jump',
			'error_page'            =>  '/admin/errorauth',
            'error_info_page'       =>  '/admin/errorPage',
			'system_domain'         =>  'www',

            'login_cookie_name'		=> 'login_user_id',
            'login_safecode_cookie_name'	=> 'admin_safecode_login',
	),		
	'DomainMapping'	=> array(
			'admin'		=> '/',
			'order'		=> 'http://local.order.skyo2o.club/',
			'product'	=> 'http://local.product.skyo2o.club/',
			'kf'		=> 'http://local.kf.skyo2o.club/',
			'fz'		=> 'http://local.fz.skyo2o.club/',
			'wms'		=> 'http://local.wms.skyo2o.club/',
	),
		
	'AUTH_CONFIG' => array(
				'AUTH_ON' => true, //认证开关
				'AUTH_TYPE' => 1, // 认证方式，1为时时认证；2为登录认证。
				'AUTH_GROUP' => 'whaley_auth_group', //用户组数据表名
				'AUTH_GROUP_ACCESS' => 'whaley_auth_group_access', //用户组明细表
				'AUTH_RULE' => 'whaley_auth_rule', //权限规则表
				'AUTH_USER' => 'whaley_user'//用户信息表
		),
	
);